﻿/*
 * Copyright (C) 2012, Jesus Requejo <jesus.requejo@gmail.com> 
 * Licensed under Microsoft Public License (Ms-PL)
 * http://www.microsoft.com/en-us/openness/licenses.aspx#MPL
*/
 
namespace Infrastructure {

   using System;
   using System.Collections.Generic;
   using System.Linq;
   using System.Text;
   
   public class ApplicationEntry {

      private int? m_id;
      public int? Id {
         get { return m_id; }
         set { m_id = value; }
      }

      private string m_name;
      public string Name {
         get { return m_name; }
         set { m_name = value; }
      }

      private string m_path;
      public string Path {
         get { return m_path; }
         set { m_path = value; }
      }

      private bool m_enabled;
      public bool Enabled {
         get { return m_enabled; }
         set { m_enabled = value; }
      }

      private bool m_launchAtLogon;
      public bool LaunchAtLogon {
         get { return m_launchAtLogon; }
         set { m_launchAtLogon = value; }
      }

      public ApplicationEntry(int? id, string name, string path, bool enabled, bool launchAtLogon) {
         Id = id;
         Name = name;
         Path = path;
         Enabled = enabled;
         LaunchAtLogon = launchAtLogon;
      }

      public ApplicationEntry() {

      }
   }
}
